<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> <a class="add fb" href="{:U("Contents/Position/add")}"><em>添加推荐位</em></a> <a href='{:U("Contents/Position/index")}' class="on"><em>推荐位管理</em></a> </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<form name="myform" action="{:U("Contents/Position/listorder")}" method="post">
  <div class="pad_10">
    <div class="explain-col"> 温馨提示：请在添加、修改全部完成后，<a href="{:U("Admin/Index/deletecache")}">更新缓存</a> </div>
    <div class="bk15"></div>
    <div class="table-list">
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <th width="10%"  align="left">排序</th>
            <th width="5%"  align="left">ID</th>
            <th width="15%">推荐位名称</th>
            <th width="15%">所属栏目</th>
            <th width="15%">所属模型</th>
            <th width="20%">管理操作</th>
          </tr>
        </thead>
        <tbody>
        <volist name="data" id="vo">
          <tr>
            <td width="10%"><input name='listorders[{$vo.posid}]' type='text' size='2' value='{$vo.listorder}' class="input-text-c"></td>
            <td width="5%"  align="left">{$vo.posid}</td>
            <td  width="15%" align="center">{$vo.name}</td>
            <td width="15%" align="center">{$vo.catid}</td>
            <td width="15%" align="center">{$vo.modelid}</td>
            <td width="20%" align="center"><a href="{:U("Contents/Position/public_item",array("posid"=>$vo['posid']))}">信息管理</a> | <a href="{:U("Contents/Position/edit",array("posid"=>$vo['posid']))}">修改</a> | <a href="javascript:confirmurl('{:U("Contents/Position/delete",array("posid"=>$vo['posid']))}', '是否删除?')">删除</a></td>
          </tr>
        </volist>
        </tbody>
      </table>
      <div class="btn">
        <input type="submit" class="button" name="dosubmit" value="排序" />
      </div>
    </div>
    <div id="pages"> </div>
  </div>
  </div>
</form>
</body>
</html>